package com.example.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class StudentController {
    @Resource
    private StudentMapper studentMapper;

    @GetMapping("abc")
    public Object list() {
        List<StudentEntity> studentList = studentMapper.list(null);
        return studentList;
    }
}
